package com.sanhuo.idms.controller;

import org.hibernate.validator.constraints.pl.REGON;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面组件,不拦截
 */
@Controller
@RequestMapping("page")
public class AssemblyController {


    @RequestMapping("student/home")
    public String StudentHomePage() {
        return "student/home.jsp";
    }

    @RequestMapping("admin/analysis")
    public String adminAnalysisPage() {
        return "admin/analysis.jsp";
    }
    @RequestMapping("admin/condition")
    public String adminConditionPage() {
        return "admin/condition.jsp";
    }
    @RequestMapping("student/editSelf")
    public String StudentselfPage() {
        return "student/self.jsp";
    }

    @RequestMapping("admin/home")
    public String adminHomePage() {
        return "admin/home.jsp";
    }

    @RequestMapping("repair/home")
    public String repairHomePage() {
        return "repair/home.jsp";
    }

    @RequestMapping("/menu")
    public String menuPage() {
        return "menu.jsp";
    }

    @RequestMapping("admin/menu")
    public String adminMenuPage() {
        return "admin/menu.jsp";
    }

    @RequestMapping("admin/studentList")
    public String adminStudentListPage() {
        return "admin/studentList.jsp";
    }

    @RequestMapping("admin/distribution")
    public String adminDistribution() {
        return "admin/distribution.jsp";
    }

    @RequestMapping("admin/repairpersonaldetail")
    public String adminRepairPersonalDetailPage() {
        return "admin/repairPersonalDetail.jsp";
    }

    @RequestMapping("admin/collegeList")
    public String adminCollegeListPage() {
        return "admin/collegeList.jsp";
    }

    @RequestMapping("repair/mytask")
    public String repiarMyTask() {
        return "repair/myTask.jsp";
    }

    @RequestMapping("admin/addRepair")
    public String adminAddRepair() {
        return "admin/addRepair.jsp";
    }

    @RequestMapping("admin/addStudent")
    public String adminAddStudent() {
        return "admin/addStudent.jsp";
    }

    @RequestMapping("repair/editSelf")
    public String repiarEditSelf() {
        return "repair/editSelf.jsp";
    }

    @RequestMapping("admin/repairList")
    public String adminRepairList() {
        return "admin/repairList.jsp";
    }

    @RequestMapping("admin/collegeSave")
    public String adminCollegeSavePage() {
        return "admin/collegeSave.jsp";
    }

    @RequestMapping("admin/clasSave")
    public String adminclasSavePage() {
        return "admin/clasSave.jsp";
    }

    @RequestMapping("admin/dormList")
    public String adminDormListPage() {
        return "admin/dormList.jsp";
    }

    @RequestMapping("admin/logistList")
    public String adminLogisListPage() {
        return "admin/logistList.jsp";
    }

    @RequestMapping("admin/dormSave")
    public String adminDormSavePage() {
        return "admin/dormSave.jsp";
    }

    @RequestMapping("admin/dormHighSearch")
    public String adminDormHighSearchPage() {
        return "admin/dormHighSearch.jsp";
    }

    @RequestMapping("admin/dormDetail")
    public String adminDormDetailPage() {
        return "admin/dormDetail.jsp";
    }

    @RequestMapping("student/dormDetail")
    public String studentDormDetailPage() {
        return "student/dormDetail.jsp";
    }

    @RequestMapping("admin/studentDetail")
    public String adminstudentDetailPage() {
        return "admin/studentDetail.jsp";
    }

    @RequestMapping("student/addRepair")
    public String studentAddRepairPage() {
        return "student/addRepair.jsp";
    }

    @RequestMapping("student/repairList")
    public String studentRepairList() {
        return "student/repairList.jsp";
    }


    @RequestMapping("student/repairDetail")
    public String studentRepairDetail() {
        return "student/RepairDetail.jsp";
    }

    @RequestMapping("admin/studenthighsearch")
    public String studentHighSearchPage() {
        return "admin/studentHighSearch.jsp";
    }

    @RequestMapping("admin/editSelf")
    public String adminEditSelfPage() {
        return "admin/editSelf.jsp";
    }

    @RequestMapping("editPassword")
    public String editPassworPage() {
        return "editPassword.jsp";
    }

    @RequestMapping("student/menu")
    public String studentMenuPage() {
        return "student/menu.jsp";
    }

    @RequestMapping("repair/menu")
    public String repairMenuPage() {
        return "repair/menu.jsp";
    }

    @RequestMapping("/top")
    public String topPage() {
        return "top.jsp";
    }
}
